package com.mes.cloud.dto.extral;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Deacription :
 * @Author syn
 * @Date 2019/12/9
 **/
@ApiModel(value = "DictExtralDTO", description = "数据字典信息")
@Data
public class DictExtralDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID", dataType = "Long")
    private Long id;

    @ApiModelProperty(value = "字典代码", dataType = "Long")
    private String value;

    @ApiModelProperty(value = "名称", dataType = "Long")
    private String name;

    @ApiModelProperty(value = "表名", dataType = "Long")
    private String object;

    @ApiModelProperty(value = "字段名", dataType = "Long")
    private String field;

    @ApiModelProperty(value = "创建时间", dataType = "Long")
    private Date crtdate;

    @ApiModelProperty(value = "修改时间", dataType = "Long")
    private Date upddate;

    @ApiModelProperty(value = "描述", dataType = "Long")
    private String remark;

    @ApiModelProperty(value = "删除", dataType = "Long")
    private Integer isDelete;

    @ApiModelProperty(value = "0-启用/1-禁用", dataType = "Long")
    private Integer isEnable;

    @ApiModelProperty(value = "父节点", dataType = "Long")
    private Long parentId;

    @ApiModelProperty(value = "序号", dataType = "Long")
    private Long sort;

    @ApiModelProperty(value = "是否默认 0-是/1-否", dataType = "Integer")
    private Integer isDefault;

    @ApiModelProperty(value = "类型", dataType = "String")
    private String type;

    @ApiModelProperty(value = "字段代码", dataType = "String")
    private String code;

    @ApiModelProperty(value = "创建人ID", dataType = "Long")
    private Long crtby;

    @ApiModelProperty(value = "修改人ID", dataType = "Long")
    private Long updby;

    @ApiModelProperty(value = "创建人名称", dataType = "String")
    private String crtbyName;

    @ApiModelProperty(value = "修改人名称", dataType = "String")
    private String updbyName;

    @ApiModelProperty(value = "上级名称", dataType = "String")
    private String parentName;
}
